<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" async="" src="shop_js/joya.js"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <title>食品饮料【品牌、价格、怎么样】-格调同城</title>
    <meta name="Description" content="格调同城为您提供食品饮料品牌、价格，食品饮料产品促销活动。上格调同城购买食品饮料产品，省钱省力省时间！">
    <!--css start-->
    <link href="shop_js/global_site_base2.css" rel="stylesheet" type="text/css">
    <link href="shop_js/iconfont.css" rel="stylesheet" type="text/css">
    <link href="shop_js/search_table2.css" rel="stylesheet" type="text/css">
    <!--css end-->
    <style type="text/css">
        .preSellOrAppoint {
            border: 1px solid #FFFFFF;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            font-size: 11px;
        }
    </style>

    <script type="text/javascript" charset="UTF-8" src="shop_js/login_frame_client.js"></script>
</head>
<body>
<div class="hd_header_wrap">
    <div class="hd_top_bar">
        <div class="wrap clearfix">
            <div class="hd_topbar_home">
                <i class="icon iconfont"></i>
                <ul class="hd_topbar_home_ul">
                    <a href="" title="网警提示" clstag="pageclick|keycount|shouye_20181018|toolbar_Announcement1">
                        <li class="hd_topbar_home_li"><span class="text">网警提示</span></li>
                    </a>
                </ul>
            </div>
            <div class="hd_topbar_right">
                <ul>
                    <li id="global_unlogin">
                        <div class="hd_unlogin" clstag="pageclick|keycount|shouye_20181018|toolbar_Login">
                            <span class="hd_hi">你好:</span>
                            <a href="login.html" class="hd_login_link" id="dl">登录&nbsp;</a>
                            <a href="register.html" class="hd_regist_link" id="zc">&nbsp;注册</a>
                        </div>
                    </li>
                    <li id="global_login" class="" style="display:none" data-type="2017">
                        <div class="hd_login">
                            <div class="hd_login_name_con">
                                <span class="hd_hi">你好,</span>
                                <a href="" id="name" class="hd_login_name"></a>

                            </div>
                            <a href="" class="hd_vip hd_vip__gradeStyle__" ><img id="imgValidateCode" src="" style="width: 100px;height: 35px;margin-top: -10px"></a>&nbsp;&nbsp;
                            <a id="tc" onclick="tc()">退出</a>
                        </div>
                    </li>
                    <li>
                        <div class="hd_menu" clstag="pageclick|keycount|shouye_20181018|toolbar_VipClub">
                            <a href=""><i class="icon iconfont"></i><span class="text">会员俱乐部</span></a>
                        </div>
                    </li>
                    <li>
                        <div class="hd_menu" clstag="pageclick|keycount|shouye_20181018|toolbar_Orders">
                            <a href="" rel="nofollow">
                                <i class="icon iconfont"></i><span class="text">我的订单</span></a>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div style="width:100%;height: 180px;background-color:white;">
        <div class="header_bp">
            <div class="header_bp_img"
                 style="background:url(//img20.360buyimg.com/img/jfs/t26527/196/1706417703/4559/6d078fba/5bea3883N86dafa72.png) center no-repeat"></div>
            <div class="wrap hd_header">
                <div class="hd_logo_area">
                    <a href="" class="hd_logo" clstag="pageclick|keycount|shouye_20181018|YHDLogo"></a>
                        <a class="hd_slogan" href="javascript:;" clstag="pageclick|keycount|shouye_20181018|YHDLogoAds">
                            <div class="inner"><img src="img/格调同城2.png"></div>
                        </a>
                </div>
                <div class="hd_header_right">
                    <div class="clearfix">
                        <div class="hd_head_search" style="z-index: 501;">
                            <div class="hd_search_form hd_search_normal" style="top:0px" id="hdSearchForm">
                                <div class="hd_fixed_wrap">
                                    <!--<a href="javascript:;" class="hd_fixed_logo"><img src="img/格调同城2.png"-->
                                    <!--alt="" width="190"-->
                                    <!--height="60"></a>-->
                                    <div class="hd_search_wrap clearfix">
                                        <label for="keyword" class="hd_search_tip" style="display:none;"></label>
                                        <input class="hd_search_ipt" name="keyword" id="keyword" type="text"
                                               placeholder="请输入" original="请输入" url="" maxlength="100"
                                               autocomplete="off" x-webkit-speech=""
                                               onwebkitspeechchange="emptySearchBar();"
                                               x-webkit-grammar="builtin:translate">
                                        <button type="button" class="hd_search_btn"
                                                onclick="javascript:searchMeForClick();"
                                                clstag="pageclick|keycount|shouye_20181018|Search"><i
                                                class="icon iconfont"></i></button>
                                    </div>
                                    <!--搜索提示 begin-->
                                    <div id="searchSuggest" class="hd_search_tips_result " style="display:none"
                                         onmouseover="$('#searchSuggest').show()"></div>
                                    <!--搜索提示 end-->
                                </div>
                            </div>
                            <!--搜索推荐-->
                        </div>
                        <div class="hd_mini_cart" id="miniCart" data-version="1"
                             clstag="pageclick|keycount|shouye_20181018|Cart">
                            <u class="hd_c_num " id="in_cart_num" style="display: none"></u>
                            <a class="hd_prism_cart" href="shopcar.html">
                                <em class="icon iconfont"></em><span>购物车</span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="hd_header_nav">
                    <div class="category-list-root category-list-root_global" id="categoryBox">
                        <div id="leimu" class="category-title category-title_global"><i
                                class="icon icon-menu iconfont"></i><span>全部类目</span>
                            <i class="icon iconfont iconDown"
                               style="font-size:12px;margin-left:3px;position: relative;top: -1px;"></i>
                            <i class="icon iconfont iconUp"
                               style="display: none;font-size:12px;margin-left:3px;position: relative;top: -1px;"></i>
                        </div>
                        <div  id="category-list" class="category-list global_loading" style="display: none;">
                            <div id="navTwoList" style="display: inline;" ></div>
                            <div id="navThreeList" style="display: none;"></div>
                        </div>

                    </div>
                    <ul id="navList" class="clearfix nav-list">
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div id="mark_mask"
         style="display:none;position:fixed;top:40px;left:0;z-index:99999999;height:1000px;width:100%;background:rgba(0,0,0,0.4);"></div>
    <!--content start-->

    <script>
        var urlSearchType = "";
    </script>
    <div class="searchwrap wrap mpwrap">
        <input type="hidden" id="csstype" name="csstype" value="search">
        <input id="searchword" type="hidden" value="" reqmode="0">
        <input id="searchCategory" type="hidden" value="1320">
        <input id="curCategoryIdToGlobal" type="hidden" value="1320">
        <input id="pflag" type="hidden" value="0">
        <input id="categoryIdForPms" type="hidden" value="0">
        <input id="categoryIdForAdv" type="hidden" value="0">
        <input id="matchCategoryIdForAdv" type="hidden" value="0">
        <input id="mandyRunable" type="hidden" value="0">
        <input id="ad_nextblockStartIndex" type="hidden" value="">
        <input id="ad_currentPageno" type="hidden" value="0">
        <input id="searchFlag" type="hidden" value="0">
        <input id="popProducts" type="hidden" value="">
        <div id="divAd_searchTopHotProducts" class="mod-search-cehot" style="display:none"
             data-tpa="SEARCH_MAIN_CEHOT"></div>
        <!--s 面包屑导航-->
        <!--<div style="height:44px;"></div>-->
        <div class="mod_search_crumb" data-tpa="SEARCH_MAIN_CRUMB" clstag="pageclick|keycount|keyword_201709255|3">
            <div class="crumbSlide">
                <a class="c_btn c_prev iconSearch" href="javascript:;" title="上一页" style="display: none;"></a>
                <div class="crumbClip">
                    <ul class="listCon clearfix" style="width: 219px;">
                        <input id="mispellWord1" type="hidden" value="">
                        <li class="crumb_search_tips">
                            <p>
                            </p>
                        </li>
                    </ul>
                </div>
                <a class="c_btn c_next iconSearch" href="javascript:;" title="上一页" style="display: none;"></a>
            </div>
            <!-- 指定类目开启产品质量信息查询功能 -->
            <!--s 搜索结果数-->
            <!--<small class="result_count">共92万+件商品</small>-->
            <!--e 搜索结果数-->
        </div>
        <!--s 面包屑导航-->
        <div class="mod_search_guide clearfix" id="group_attr" data-tpa="SEARCH_MAIN_GUIDE" clstag="pageclick|keycount|keyword_201709255|6">
            <input id="searchUrl" type="hidden" >
            <!-- 类目搜索-->
            <div class="classWrap about_filter" isopen="1" clstag="pageclick|keycount|keyword_201709255|5">
                <div class="guide_box guide_con_noLabel" style="height: auto;">
                    <div class="guide_title"><span title="相关分类">相关分类</span></div>
                    <div class="guide_main" style="height: auto;">
                        <ul id="related" class="guide_con clearfix">

                        </ul>
                    </div>
                </div>
            </div>
            <!-- 凤凰类目 相关分类，只有一级类目和二级类目展示相关分类，且展示最后一个分类的子类目-->
            <!-- 品牌-->
            <!--new brand page-->
            <div class="brandWrap" clstag="pageclick|keycount|keyword_201709255|10">
                <!-- 新 品牌筛选,根据是否有相关分类设置边框 -->
                <div class="guide_box new_brand clearfix" id="mutibrands">
                    <div class="guide_title"><span>品牌</span></div>
                    <div class="guide_main add_padding">
                        <!--s 收缩 多选&&更多-->
                        <div class="guide_con">
                            <!--s 收缩 多选&&更多-->
                            <div class="guide_lists" max-lh="160" style="height: 107px;">
                                <div class="clearfix guide_list">
                                    <ul id="brandList" class="guide_ul clearfix" data-multy="yes">


                                    </ul>


                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="clearfix">
            <div id="plist">
                <input id="jsonValue" type="hidden" value="{
&quot;productCount&quot;:&quot; 925296 &quot;,
&quot;currentPage&quot;:&quot;1&quot;,
&quot;extField7&quot;:&quot;0&quot;,
&quot;search_template&quot;:&quot;0&quot;,
&quot;turnPageSearchProductExposure&quot;:&quot;&quot;,
&quot;adTrakeref&quot;:&quot;&quot;
}">
                <input id="jsonUrlValue" type="hidden" value="">
                <div class="mod_search_select_container">
                    <div class="mod_search_select clearfix new_mod_search_select" id="rankOpDiv" data-tpa="SEARCH_MIAN_RANK"
                         clstag="pageclick|keycount|keyword_201709255|12">
                        <div class="sort_b">
                            <a class="cur zh" href="javascript:void(0);" onclick="return false;" url="0">综合</a>
                            <a rel="nofollow" orderbyid="2" href="" url="" title="7天销量降序排列" onclick="secondSort(1);"
                               data-tcd="SEARCH_SORT.2" data-tcs="3.0">销量<i class="iconSearch"></i></a>
                            <a rel="nofollow" orderbyid="6" href="" url="" title="上架时间降序排列" onclick="secondSort(2);"
                               data-tcd="SEARCH_SORT.6" data-tcs="3.0">新品<i class="iconSearch"></i></a>
                            <a rel="nofollow" orderbyid="5" href="" url="" title="评论数降序排列" onclick="secondSort(3);"
                               data-tcd="SEARCH_SORT.5" data-tcs="3.0">评论<i class="iconSearch"></i></a>
                            <div class="pe down">
                                <a class="last " href="">价格<i></i></a>
                                <div class="pP">
                                    <a href="" style="height:30px"><span class="up">价格从低到高<i class="iconSearch"></i></span></a>
                                    <a href="" style="height:30px"><span class="down">价格从高到低<i
                                            class="iconSearch"></i></span></a>
                                </div>
                            </div>
                        </div>
                        <div class="between">
                            <div class="boxTop">
                                <input class="ip1" type="text" placeholder="¥" id="searchPriceRangeMin" value="¥"
                                       onkeyup="this.value=this.value.replace(/\D/g,'')"
                                       onafterpaste="this.value=this.value.replace(/\D/g,'')"
                                       onblur="this.value=this.value.replace(/\D/g,'')">−<input class="ip2" type="text"
                                                                                                placeholder="¥"
                                                                                                id="searchPriceRangeMax"
                                                                                                value="¥"
                                                                                                onkeyup="this.value=this.value.replace(/\D/g,'')"
                                                                                                onafterpaste="this.value=this.value.replace(/\D/g,'')"
                                                                                                onblur="this.value=this.value.replace(/\D/g,'')">
                            </div>
                            <ul class="boxCon">
                                <li class="first">
                                    <a class="btn2" href="javascript:void(0);" url="">确定</a>
                                    <a href="javascript:void(0);" class="btn1">清空</a>
                                </li>
                                <li class="interval_list clearfix" rel="nofollow" href="javascript:void(0)"
                                    onclick="clickSearchPriceRange('0','40','//search.yhd.com/c1320-0-0/mbname-b/a-s1-v4-p1-price-d0-f0b-m1-rt0-pid-mid0-color-size-k/',this);return false;"
                                    data-tcd="a13.0_40" data-tcs="3.0" title="0-40元">
                                    <div class="price_interval">
                                        <span>0-40</span>元
                                    </div>
                                    <!--用户偏好百分比-->
                                </li>
                                <li class="interval_list clearfix" rel="nofollow" href="javascript:void(0)"
                                    onclick="clickSearchPriceRange('40','80','//search.yhd.com/c1320-0-0/mbname-b/a-s1-v4-p1-price-d0-f0b-m1-rt0-pid-mid0-color-size-k/',this);return false;"
                                    data-tcd="a13.40_80" data-tcs="3.0" title="40-80元">
                                    <div class="price_interval">
                                        <span>40-80</span>元
                                    </div>
                                    <!--用户偏好百分比-->
                                </li>
                                <li class="interval_list clearfix" rel="nofollow" href="javascript:void(0)"
                                    onclick="clickSearchPriceRange('80','200','//search.yhd.com/c1320-0-0/mbname-b/a-s1-v4-p1-price-d0-f0b-m1-rt0-pid-mid0-color-size-k/',this);return false;"
                                    data-tcd="a13.80_200" data-tcs="3.0" title="80-200元">
                                    <div class="price_interval">
                                        <span>80-200</span>元
                                    </div>
                                    <!--用户偏好百分比-->
                                </li>
                                <li class="interval_list clearfix" rel="nofollow" href="javascript:void(0)"
                                    onclick="clickSearchPriceRange('200','500','//search.yhd.com/c1320-0-0/mbname-b/a-s1-v4-p1-price-d0-f0b-m1-rt0-pid-mid0-color-size-k/',this);return false;"
                                    data-tcd="a13.200_500" data-tcs="3.0" title="200-500元">
                                    <div class="price_interval">
                                        <span>200-500</span>元
                                    </div>
                                    <!--用户偏好百分比-->
                                </li>
                                <li class="interval_list clearfix" rel="nofollow" href="javascript:void(0)"
                                    onclick="clickSearchPriceRange('500','2400','//search.yhd.com/c1320-0-0/mbname-b/a-s1-v4-p1-price-d0-f0b-m1-rt0-pid-mid0-color-size-k/',this);return false;"
                                    data-tcd="a13.500_2400" data-tcs="3.0" title="500-2400元">
                                    <div class="price_interval">
                                        <span>500-2400</span>元
                                    </div>
                                    <!--用户偏好百分比-->
                                </li>
                                <li class="interval_list clearfix" rel="nofollow" href="javascript:void(0)"
                                    onclick="clickSearchPriceRange('2400','2800','//search.yhd.com/c1320-0-0/mbname-b/a-s1-v4-p1-price-d0-f0b-m1-rt0-pid-mid0-color-size-k/',this);return false;"
                                    data-tcd="a13.2400_2800" data-tcs="3.0" title="2400-2800元">
                                    <div class="price_interval">
                                        <span>2400-2800</span>元
                                    </div>
                                    <!--用户偏好百分比-->
                                </li>
                                <li class="interval_list clearfix" rel="nofollow" href="javascript:void(0)"
                                    onclick="clickSearchPriceRange('2800','40800','//search.yhd.com/c1320-0-0/mbname-b/a-s1-v4-p1-price-d0-f0b-m1-rt0-pid-mid0-color-size-k/',this);return false;"
                                    data-tcd="a13.2800_40800" data-tcs="3.0" title="2800-40800元">
                                    <div class="price_interval">
                                        <span>2800-40800</span>元
                                    </div>
                                    <!--用户偏好百分比-->
                                </li>
                            </ul>
                        </div>
                        <div class="delivery_b">
                            <div class="t clearfix">
                                <span class="t_b psz">配送至</span>
                                <div class="t_b site"><span id="address_name">上海静安区城区</span><i class="sub"></i>
                                    <div class="mod_selectbox clearfix">
                                        <div class="selectlist">
                                            <ul class="tablist clearfix">
                                                <li class="" id="tabs_province" data-id="2">上海<i></i></li>
                                                <li id="tabs_city" style="" data-id="2817">静安区</li>
                                                <li id="tabs_town" style="" data-id="51973" class="cur">城区</li>
                                            </ul>
                                            <div class="sec_childs">
                                                <div class="sec_level clearfix" style="display: none;">
                                                    <div class="arealist clearfix">
                                                        <div class="dt">华北：</div>
                                                        <div class="dd">
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="1">北京</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="3">天津</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="5">河北</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="6">山西</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="11">内蒙古</a>
                                                        </div>
                                                    </div>
                                                    <div class="arealist clearfix">
                                                        <div class="dt">华东：</div>
                                                        <div class="dd">
                                                            <a class="sec_item cur" href="javascript:void(0);" data-id="2">上海</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="12">江苏</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="15">浙江</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="14">安徽</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="16">福建</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="13">山东</a>
                                                        </div>
                                                    </div>
                                                    <div class="arealist clearfix">
                                                        <div class="dt">华南：</div>
                                                        <div class="dd">
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="19">广东</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="20">广西</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="23">海南</a>
                                                        </div>
                                                    </div>
                                                    <div class="arealist clearfix">
                                                        <div class="dt">华中：</div>
                                                        <div class="dd">
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="21">江西</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="7">河南</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="17">湖北</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="18">湖南</a>
                                                        </div>
                                                    </div>
                                                    <div class="arealist clearfix">
                                                        <div class="dt">西南：</div>
                                                        <div class="dd">
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="4">重庆</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="22">四川</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="24">贵州</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="25">云南</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="26">西藏</a>
                                                        </div>
                                                    </div>
                                                    <div class="arealist clearfix">
                                                        <div class="dt">西北：</div>
                                                        <div class="dd">
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="27">陕西</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="28">甘肃</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="29">青海</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="30">宁夏</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="31">新疆</a>
                                                        </div>
                                                    </div>
                                                    <div class="arealist clearfix">
                                                        <div class="dt">东北：</div>
                                                        <div class="dd">
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="8">辽宁</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="9">吉林</a>
                                                            <a class="sec_item" href="javascript:void(0);"
                                                               data-id="10">黑龙江</a>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="sec_level clearfix" style="display: none;"><a class="sec_item"
                                                                                                          href="javascript:void(0);"
                                                                                                          data-id="78">黄浦区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2813">徐汇区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2815">长宁区</a>
                                                    <a class="sec_item cur" href="javascript:void(0);"
                                                       data-id="2817">静安区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2820">闸北区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2822">虹口区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2823">杨浦区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2824">宝山区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2825">闵行区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2826">嘉定区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2830">浦东新区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2833">青浦区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2834">松江区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2835">金山区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2837">奉贤区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2841">普陀区</a>
                                                    <a class="sec_item" href="javascript:void(0);" data-id="2919">崇明区</a>
                                                </div>
                                                <div class="sec_level clearfix" style="display: block;"><a
                                                        class="sec_item cur" href="javascript:void(0);"
                                                        data-id="51973">城区</a>
                                                </div>
                                            </div>
                                            <div class="selectclose"><a class="iconSearch" href="javascript:void(0);"></a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="search_bar" id="search_bar">
                            <input type="text" placeholder="搜索" id="crumbKeyword">
                            <i class="iconSearch changeColor" id="crumbSearch"></i>
                        </div>
                    </div>
                    <div class="mod_search_select clearfix new_mod_search_select_bottom">
                        <div class="ronghe">
                            <ul class="clearfix">
                                <li>
                                    <a rel="nofollow" href="" class="tab_area" data-tcd="SEARCH_FILTER.6" data-tcs="3.0">
                                        <i class="ico not_check"></i>京东配送
                                    </a>
                                </li>
                                <li id="youh">
                                    <a rel="nofollow" class="tab_area cur" href="">
                                        <i class="ico "></i>
                                        仅显示有货
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <!--s 商品列表-->
                <div class="mod_product_list clearfix" data-tpa="SEARCH_MAIN_LIST"
                     clstag="pageclick|keycount|keyword_201709255|7">
                    <div class="list_width small spread clearfix" >
                        <ul id="itemSearchList">

                        </ul>
                    </div>
                    <div id="hotProductsWrap" class="mod_search_hot" style="display:none;color:#161616;font-size:20px;" >哎呀，没有找到商品啊(*╹▽╹*)</div>
                </div>

                <div id="getMoreProducts" style="clear:both;"></div>
                <!--s 分页-->
                <div class="mod_turn_page clearfix mt20" data-tpa="SEARCH_MIAN_TURN_PAGE"
                     clstag="pageclick|keycount|keyword_201709255|13" style="display: block;">
                    <div class="container large">
                        <div class="pagination">
                            <ul id="pageList">


                            </ul>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <!-- 搜索无结果展示推荐 -->

        <!--======s 对比功能栏======-->
        <div class="mod_compare_bar" data-tpa="SEARCH_COMPARE">
            <span class="close iconSearch"></span>
            <div class="compare_wrap">
                <div class="compare_con clearfix">
                    <!----名称---->
                    <div class="title">
                        <i class="triangle"></i>
                        <h2>商品对比</h2>
                    </div>
                    <!---/-名称---->
                    <!----商品列表---->
                    <div class="compareList">
                        <div class="errorTips">
                            <p class="tipsText"><i class="iconSearch"></i><span>请至少选择2件商品</span></p>
                            <u> </u>
                        </div>
                        <ul class="itemList clearfix"></ul>
                        <ul class="itemListNull clearfix">
                            <li>
                                <span class="empty" var-data="1.1"></span>
                                <dl class="item_none clearfix">
                                    <dt>1</dt>
                                    <dd>尚未选择</dd>
                                </dl>
                            </li>
                            <li>
                                <span class="empty" var-data="1.2"></span>
                                <dl class="item_none clearfix">
                                    <dt>2</dt>
                                    <dd>尚未选择</dd>
                                </dl>
                            </li>
                            <li>
                                <span class="empty" var-data="1.3"></span>
                                <dl class="item_none clearfix">
                                    <dt>3</dt>
                                    <dd>尚未选择</dd>
                                </dl>
                            </li>
                            <li class="last">
                                <span class="empty" var-data="1.4"></span>
                                <dl class="item_none clearfix">
                                    <dt>4</dt>
                                    <dd>尚未选择</dd>
                                </dl>
                            </li>
                        </ul>
                    </div>
                    <!---/-商品列表---->
                    <!----对比按钮---->
                    <div class="compareBtn">
                        <a class="btn_cpr" href="javascript:;">
                            <i class="icon iconSearch"></i>立即对比
                        </a>
                        <a class="btn_empty" href="javascript:;">
                            <i class="icon iconSearch"></i>
                            <span>清空商品</span>
                        </a>
                    </div>
                    <!---/-对比按钮---->
                </div>
            </div>
        </div>
        <!--======e 对比功能栏======-->
        <div id="divAd_SEARCH_SCATTERED_TOP_DEFAULT" class="banner980x60 mt5" style="display:none"></div>
    </div>
    <!--s 系列商品弹框-->
    <div class="mod_pop series_pro_buy clearfix" serise_parentid="" id="series_pro_buy" style="display:none"></div>
    <!-- 遮罩层 start-->
    <div class="large_dress_pic_mask"></div>
    <!-- 遮罩层 end-->
    <!-- 查看大图 start-->
    <div class="large_dress_pic" style="display:none;">
        <div class="pic_wrapper">
        </div>
        <!--为满足条件，没有翻页按钮-->
        <span class="btn_left similar_btn iconSearch"></span>
        <span class="btn_right similar_btn iconSearch"></span>
    </div>
    <div class="fixe_right" style="display: none">
        <div id="divAd_SEARCH_SCATTERED_YHDC_DEFAULT">
        </div>
        <a href="javascript:void(0);" class="to_top" style="display:none;">回到顶部</a>
    </div>
    <div id="scence_guide" style="clear:both;"></div>
    <div class="ft_wrap">
        <div id="globalBottomBrowseRelated" data-recordtracker="1"></div>
        <div class="wrap ft_footer_service clearfix" id="footerIcon" data-tpa="YHD_GLOBAl_FOOTERICON">
            <a target="_blank">
                <img alt="" src="image/CgQI0lWskgmADBnsAAAPZvcSh3E68900.jpg">
                <b>正品保障</b>
                <span>正品行货 放心选购</span>
            </a>
            <a target="_blank">
                <img alt="" src="image/ChEbulWsk4iADa_aAAAM544hHN818600.jpg">
                <b>满86包邮</b>
                <span>满86元 免运费</span>
            </a>
            <a target="_blank">
                <img alt="" src="image/CgQIz1WslI-Adao3AAAN5b_ut2I80100.jpg">
                <b>售后无忧</b>
                <span>7天无理由退货</span>
            </a>
            <a target="_blank">
                <img alt="" src="image/ChEi11WsyiyALBbiAAAN9lEEK5M33200.jpg">
                <b>准时送达</b>
                <span>收货时间由你做主</span>
            </a>
        </div>
        <div class="wrap ft_service_link clearfix">
            <div id="bottomHelpLinkId" class="ft_help_list clearfix" data-tpa="YHD_GLOBAl_FOOTER_HELP">
                <dl>
                    <dt>新手入门</dt>
                    <dd><a href="" target="_blank">购物流程</a></dd>
                    <dd><a href="" target="_blank">会员制度</a></dd>
                    <dd><a href="" target="_blank">订单查询</a></dd>
                    <dd><a href="" target="_blank">服务协议及隐私说明</a></dd>
                    <dd><a href="" target="_blank">网站地图</a></dd>
                </dl>
                <dl>
                    <dt>支付方式</dt>
                    <dd><a href="" target="_blank">货到付款</a></dd>
                    <dd><a href="" target="_blank">网上支付</a></dd>
                    <dd><a href="" target="_blank">礼品卡支付</a></dd>
                    <dd><a href="" target="_blank">其它支付</a></dd>
                </dl>
                <dl>
                    <dt>配送服务</dt>
                    <dd><a href="" target="_blank">配送进度查询</a></dd>
                    <dd><a href="" target="_blank">商品验货与签收</a></dd>
                </dl>
                <dl>
                    <dt>售后保障</dt>
                    <dd><a href="" target="_blank">退换货政策</a></dd>
                    <dd><a href="" target="_blank">发票制度</a></dd>
                    <dd><a href="" target="_blank">帮助中心</a></dd>
                </dl>
            </div>
            <!--footer 二维码 begin -->

        </div>
        <div id="footer">
            <p class="ft_footer_link">
            </p>
            <p class="ft_footer_link">
                <a href="" target="_blank">沪ICP备16050468号</a>
                |
                <a href="" target="_blank">经营证照</a>
                |
                <a href="" target="_blank">互联网药品信息服务资格证(沪)-经营性-2017-0006</a>
                |
                <a target="_blank">违法和不良信息举报电话：0527-88100253</a>
                |
                <a href="" target="_blank">沪B2-20170039</a>
                |
                <a href="" target="_blank">沪公网安备 31010502002939号</a>
                |
                <a href="" target="_blank">友情链接</a>
                |
                <a href="" target="_blank">出版物经营许可证</a>
                |
                <a href="">增值电信业务经营许可证</a>
            </p>
            <span id="stoId" hidden></span>
            <p>Copyright© 格调同城 2007-2019，All Rights Reserved</p>
            <small id="footerbanner2LazyLoad" class="ft_pic_link">
                <a href="" target="_blank">
                    <img alt="" src="image/CgQCr1PQy1CAF7vaAABDexsiEYM24800.jpg">
                </a>
                <a href="" target="_blank">
                    <img alt="" src="iamge/ChEi1VcfPl2AC1T8AAANFrEfJlw97300.jpg">
                </a>
                <a href="" target="_blank">
                    <img alt="" src="image/ChEi2lh171KAJrGlAAALl_uZt0E75600.jpg">
                </a>
                <a href="" target="_blank">
                    <img alt="" src="image/ChEi1FYXHcOAVk_WAAAL2r2-yfo10200.jpg">
                </a>
                <a href="" target="_blank">
                    <img alt="" src="image/CgQCrlPYTqCASlHXAAAd82JE0eA31000.png">
                </a>
                <a href="" target="_blank">
                    <img alt="" src="image/5a706bb1Ne3eec0dd.png">
                </a>
            </small>
        </div>
    </div>
    <!--js start-->
    <!--无页面级头部js时, 全局头部js下移-->

    <script type="text/javascript" src="js/axios.js"></script>
    <script type="text/javascript" src="shop_js/global_base2_top.js" charset="utf-8"></script>
    <script type="text/javascript" src="shop_js/search_shop.js" charset="utf-8"></script>
    <script type="text/javascript" src="shop_js/synccookiepc.js" charset="utf-8"></script>
    <noscript>
        <div style="display:inline;">
            <img id="smartPixel" height="1" width="1" style="border-style:none;" alt="" src=""/>
        </div>
    </noscript>
    <script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript">
        var classthreeid;
        var classtwoid;
        var resUserId;
        var stId="";
        function getSession() {
            $.ajaxSettings.async=false;
            $.getJSON(" http://ivr3ur.natappfree.cc/selUser",function(data){
                if(data.Nickname==null||data.Nickname==""||data.Nickname=="null"){
                    document.getElementById("global_login").style.display = "none";
                    document.getElementById("global_unlogin").style.display = "inline";
                }
                $("#name").text(data.Nickname)
                if(data.Nickname!=null && data.Nickname!=" "&&data.Nickname!="null"){
                    alert("biaoshi"+data.Nickname)
                    resUserId=data.userid;
                    alert(resUserId);
                    document.getElementById("global_login").style.display = "inline";
                    document.getElementById("global_unlogin").style.display = "none";
                    if(data.Member==0){
                        $('#imgValidateCode').attr("src", "img/vip0.png");
                    }else if(data.Member==1){
                        $('#imgValidateCode').attr("src", "img/vip1.png");
                    }else if(data.Member==2){
                        $('#imgValidateCode').attr("src", "img/vip2.png");
                    }else if(data.Member==3){
                        $('#imgValidateCode').attr("src", "img/vip3.png");
                    }
                }
            })


        }
        $(document).ready(function () {
            redisStore();
            getSession();
            Intercept();
            Intercept1();
            if(classthreeid!=undefined){
                selectThreeShop();
            }else if(classtwoid!=undefined){
                var shop = {
                    "storeid": stId,
                    "classtwoid":classtwoid,
                }

                axios.post("  http://ivr3ur.natappfree.cc/getComByClassid",shop)
                    .then(function(response){
                        $("#itemSearchList").empty();
                        $("#brandList").empty();
                        if(response.data.length>0){
                            var html ="";
                            var li="";
                            for (var i = 0; i <response.data.length; i++) {
                                html+= "<li><div class='mod_search_pro' defaultid='0' id='producteg_28287941109' data-tcd='5.0' data-tcs='3.0'" +
                                    "                       data-tpc='2'>" +
                                    "                      <div pagetype='simple_table_nonFashion' class='itemBox' id='itemSearchResultCon_28287941109'" +
                                    "                           comproid='28287941109'>" +
                                    "                          <div class='proImg'>" +
                                    "                              <a href='javascript:void(0);' onclick='toShopDet(\""+response.data[i].name+"\")'><img src='image/5b84fc40N7693da45.jpg'></a>" +
                                    "                          </div>" +
                                    "                      <p class='proPrice'>" +
                                    "                          <em class='num' id='price0_28287941109' >\n" +
                                    "                              <b>¥</b>"+response.data[i].saleprice+"" +
                                    "                          </em>" +
                                    "                          <span id='unit_price_28287941109' class='unit_price'></span>\n" +
                                    "                      </p>\n" +
                                    "                      <p class='proName clearfix'>\n" +
                                    "                          <!-- 既没有促销信息(双十一双十二不算),也没有优惠券信息 则需要mainTitle-->\n" +
                                    "                          <a id='shopName"+i+"' class='mainTitle'" +
                                    "                             title='"+response.data[i].name+"' singlefreeflag='0'>\n" +
                                    "                              "+response.data[i].name+"" +
                                    "                          </a>" +
                                    "                      </p>" +
                                    "                  <div class='item_act clearfix'>\n" +
                                    "                      <div class='shopping_act fl' isnumbuy='0'>\n" +
                                    "                          <a href='javaScript:void(-1)' style='width:50px;margin-right: 20px' class='buy_btn' onclick='collection("+response.data[i].id+")'>收藏 </a>" +
                                    "                          <a class='buy_btn'  onclick='shopCar("+response.data[i].id+")' href='javaScript:void(-1)'>加入购物车 </a>" +
                                    "                      </div>" +
                                    "              </div>" +
                                    "                               <p class='proPrice'>" +
                                    "   <span class='comment'>" +
                                    "                 <a  positiverate='99' >\n" +
                                    "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  销量:</span>  <i class='iconSearch'></i>400+</a>\n" +
                                    "                 <a   positiverate='99' >\n" +
                                    "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  库存:</span> <i class='iconSearch'></i>"+response.data[i].stock+"</a>\n" +
                                    "         </span>\n" +
                                    "                       </p>\n" +
                                    "                      </div>" +
                                    "                   </div><input hidden type='text' id='commodity"+i+"' value='"+response.data[i].id+"'/> " +
                                    "</li>";


                        }
                        $.getJSON("http://ivr3ur.natappfree.cc/selectBrand",{ "classtwoid":classtwoid},  function (data) {
                            for(var i=0;i<data.length;i++){
                                li+="<li data-name='"+data[i].brand+"' >\n" +
                                    " <a  href='javascript:void(0);' onclick='brandShop(\""+data[i].brand+"\")'  title='"+data[i].brand+"' >\n" +
                                    "<span class='sr'>"+data[i].brand+"</span>\n" +
                                    " <p class='br nodata'>\n" +
                                    "  <span class='sp1'>"+data[i].brand+"</span>\n" +
                                    "   <span class='sp2'></span>\n" +
                                    "   <span class='cl'></span>\n" +
                                    " </p>\n" +
                                    " </a>\n" +
                                    " </li>";
                            }
                            $("#brandList").append(li);
                        })

                        $("#itemSearchList").append(html);
                    }else{
                        document.getElementById("hotProductsWrap").style.display = "inline";
                    }
                });

        }else{
            var shop =  {
                "storeid":stId,
                "pageSize": 10,
                "pageNo": 1,
                "state": 1
            }
            $.getJSON("http://ivr3ur.natappfree.cc/selectAllCom",shop,function(data){
                if(data.data.length>0){
                    var bli="";
                    var html ="";
                    for (var i = 0; i <data.data.length; i++) {
                        html+= "<li><div class='mod_search_pro' defaultid='0' id='producteg_28287941109' data-tcd='5.0' data-tcs='3.0'" +
                            "                       data-tpc='2'>" +
                            "                      <div pagetype='simple_table_nonFashion' class='itemBox' id='itemSearchResultCon_28287941109'" +
                            "                           comproid='28287941109'>" +
                            "                          <div class='proImg'>" +
                            "                              <a href='javascript:void(0);' onclick='toShopDet(\""+data.data[i].id+"\")'><img src='"+data.data[i].path+"'></a>" +
                            "                          </div>" +
                            "                      <p class='proPrice'>" +
                            "                          <em class='num' id='price0_28287941109' >\n" +
                            "                              <b>¥</b>"+data.data[i].saleprice+"" +
                            "                          </em>" +
                            "                          <span id='unit_price_28287941109' class='unit_price'></span>\n" +
                            "                      </p>\n" +
                            "                      <p class='proName clearfix'>\n" +
                            "                          <!-- 既没有促销信息(双十一双十二不算),也没有优惠券信息 则需要mainTitle-->\n" +
                            "                          <a id='shopName"+i+"' class='mainTitle'" +
                            "                             title='"+data.data[i].name+"' singlefreeflag='0'>\n" +
                            "                              "+data.data[i].name+"" +
                            "                          </a>" +
                            "                      </p>" +
                            "                  <div class='item_act clearfix'>\n" +
                            "                      <div class='shopping_act fl' isnumbuy='0'>\n" +
                            "                          <a href='javaScript:void(-1)' style='width:50px;margin-right: 20px' class='buy_btn' onclick='collection("+data.data[i].id+")'>收藏 </a>" +
                            "                          <a class='buy_btn'  onclick='shopCar("+data.data[i].id+")' href='javaScript:void(-1)'>加入购物车 </a>" +
                            "                      </div>" +
                            "              </div>" +
                            "                               <p class='proPrice'>" +
                            "   <span class='comment'>" +
                            "                 <a  positiverate='99' >\n" +
                            "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  销量:</span>  <i class='iconSearch'></i>400+</a>\n" +
                            "                 <a   positiverate='99' >\n" +
                            "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  库存:</span> <i class='iconSearch'></i>"+data.data[i].stock+"</a>\n" +
                            "         </span>\n" +
                            "                       </p>\n" +
                            "                      </div>" +
                            "                   </div><input hidden type='text' id='commodity"+i+"' value='"+data.data[i].id+"'/> " +
                            "</li>";


                    }
                    $.getJSON("http://ivr3ur.natappfree.cc/selectBrand",  function (data) {
                        for(var i=0;i<data.length;i++){
                            bli+="<li data-name='"+data[i].brand+"' >\n" +
                                " <a  href='javascript:void(0);' onclick='brandShop(\""+data[i].brand+"\")' title='"+data[i].brand+"' >\n" +
                                "<span class='sr'>"+data[i].brand+"</span>\n" +
                                " <p class='br nodata'>\n" +
                                "  <span class='sp1'>"+data[i].brand+"</span>\n" +
                                "   <span class='sp2'></span>\n" +
                                "   <span class='cl'></span>\n" +
                                " </p>\n" +
                                " </a>\n" +
                                " </li>";
                        }
                        $("#brandList").append(bli);
                    })
                    var li="";
                    for(var j=1;j<=data.pageCount;j++){
                        li+="  <li> <a href='javascript:void(0)'>"+j+"</a> </li>";
                    }
                    $("#pageList").append(li);
                    $("#itemSearchList").append(html);
                }else{
                    document.getElementById("hotProductsWrap").style.display = "inline";
                }
            });

            }
            // alert("商品");
            categoryName();

        $("#brandList li").click(function(){
            var i=$(this).index();
            var shopName=$("#commodity"+i).text();
            window.location.href="shopDetail.html?value="+shopName;
        })
    });

    function redisStore(){
        $.ajaxSettings.async=false;
        $.getJSON(" http://ivr3ur.natappfree.cc/getRedisStoreId",function(data){
            $("#stoId").text(data);
        })
        $.ajaxSettings.async=true;
        stId=$("#stoId").text();

    }

    var date=new Date();
    var year = date.getFullYear(); //获取年
    var month = date.getMonth()+1;//获取月
    var day = date.getDate(); //获取当日
    var time = year+"-"+month+"-"+day; //组合时间
    // alert("当前日期："+time);

    //加入收藏
    function collection(commodityid){
        var _data = {
            "storeid": stId,
            "userid": resUserId,
            "commodityid": commodityid,
            "createtime": time
        }
        axios.post("http://ivr3ur.natappfree.cc/insertCollections", _data)
            .then(function (response) {
                if(response.data>0){
                    alert("添加收藏成功");
                }
            })
    }

    //加入购物车
    function shopCar(commodityid){
        var _data = {
            "storeid": stId,
            "userid": resUserId,
            "commodityid": commodityid,
            "number": 1,
            "state":0,
            "createtime": time
        }
        axios.post("http://ivr3ur.natappfree.cc/insertShopCar", _data)
            .then(function (response) {
                if(response.data>0){
                    alert("已加入购物车")
                }
            })
    }

    //根据二级分类查看三级分类
    function categoryThreename(classtwo){
        var _data={
            "storeid":stId,
            "classtwo":classtwo
        }
        $.getJSON("http://ivr3ur.natappfree.cc/QueryClassthree",_data,function(data){
            var li="";
            $("#navThreeList").empty();
            $("#related").empty();
            for(var i=0;i<data.length;i++){
                li+="<li>" +
                    " <a  id='feilThreeName"+i+"' style='color:#514f57;font-size: 14px;margin-left: 10px;' title='"+data[i].classthreename+"'>"+data[i].classthreename+"</a>\n" +
                    " <input id='navThreeName"+i+"' type='text' hidden value='"+data[i].classthree+"'></li>"
            }
            var rli="";
            for(var  j=0;j<data.length;j++){
                rli+="<li>" +
                    "<a class='filter_item no_next_filter_item' has_son='false'> <span title='"+data[j].classthreename+"'>"+data[j].classthreename+"</span></a>\n" +
                    "</li>"
            }
            $("#related").append(rli);
            $("#navThreeList").append(li);
            $( '#navThreeList li' ).on( 'click', function( e ) {
                var i=$(this).index();
                var classThree=$("#navThreeName"+i).val();
                var shop = {
                    "storeid":stId,
                   "classthreeid":classThree,
                }
                $.getJSON(" http://ivr3ur.natappfree.cc/getComByClassid",shop,function(data){
                    $("#itemSearchList").empty();
                    $("#brandList").empty();
                    if(data.length>0){
                        var html ="";
                        var li="";
                        for (var i = 0; i <data.length; i++) {
                            html+= "<li><div class='mod_search_pro' defaultid='0' id='producteg_28287941109' data-tcd='5.0' data-tcs='3.0'" +
                                "                       data-tpc='2'>" +
                                "                      <div pagetype='simple_table_nonFashion' class='itemBox' id='itemSearchResultCon_28287941109'" +
                                "                           comproid='28287941109'>" +
                                "                          <div class='proImg'>" +
                                "                             <a href='javascript:void(0);' onclick='toShopDet(\""+data[i].id+"\")'> <img src='"+data[i].path+"'></a>" +
                                "                          </div>" +
                                "                      <p class='proPrice'>" +
                                "                          <em class='num' id='price0_28287941109' >\n" +
                                "                              <b>¥</b>"+data[i].saleprice+"" +
                                "                          </em>" +
                                "                          <span id='unit_price_28287941109' class='unit_price'></span>\n" +
                                "                      </p>\n" +
                                "                      <p class='proName clearfix'>\n" +
                                "                          <!-- 既没有促销信息(双十一双十二不算),也没有优惠券信息 则需要mainTitle-->\n" +
                                "                          <a id='shopName"+i+"' class='mainTitle'" +
                                "                             title='"+data[i].name+"' singlefreeflag='0'>\n" +
                                "                              "+data[i].name+"" +
                                "                          </a>" +
                                "                      </p>" +
                                "                  <div class='item_act clearfix'>\n" +
                                "                      <div class='shopping_act fl' isnumbuy='0'>\n" +
                                "                          <a href='javaScript:void(-1)' style='width:50px;margin-right: 20px' class='buy_btn' onclick='collection("+data[i].id+")'>收藏 </a>" +
                                "                          <a class='buy_btn'  onclick='shopCar("+data[i].id+")' href='javaScript:void(-1)'>加入购物车 </a>" +
                                "                      </div>" +
                                "              </div>" +
                                "                               <p class='proPrice'>" +
                                "   <span class='comment'>" +
                                "                 <a  positiverate='99' >\n" +
                                "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  销量:</span>  <i class='iconSearch'></i>400+</a>\n" +
                                "                 <a   positiverate='99' >\n" +
                                "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  库存:</span> <i class='iconSearch'></i>"+data[i].stock+"</a>\n" +
                                "         </span>\n" +
                                "                       </p>\n" +
                                "                      </div>" +
                                "                   </div><input hidden type='text' id='commodity"+i+"' value='"+data[i].id+"'/> " +
                                "</li>";


                        }
                        $.getJSON("http://ivr3ur.natappfree.cc/selectBrand",{ "classthreeid":classThree},  function (data) {
                            for(var i=0;i<data.length;i++){
                                li+="<li data-name='"+data[i].brand+"' >\n" +
                                    " <a  href='javascript:void(0);' onclick='brandShop(\""+data[i].brand+"\")' title='"+data[i].brand+"' >\n" +
                                    "<span class='sr'>"+data[i].brand+"</span>\n" +
                                    " <p class='br nodata'>\n" +
                                    "  <span class='sp1'>"+data[i].brand+"</span>\n" +
                                    "   <span class='sp2'></span>\n" +
                                    "   <span class='cl'></span>\n" +
                                    " </p>\n" +
                                    " </a>\n" +
                                    " </li>";
                            }
                            $("#brandList").append(li);
                        })
                                $.getJSON("  http://qmgeqh.natappfree.cc/selectBrand",{ "classthreeid":classThree},  function (data) {
                                    for(var i=0;i<data.length;i++){
                                        li+="<li data-name='"+data[i].brand+"' >\n" +
                                            " <a  href='javascript:void(0);' onclick='brandShop(\""+data[i].brand+"\")' title='"+data[i].brand+"' >\n" +
                                            "<span class='sr'>"+data[i].brand+"</span>\n" +
                                            " <p class='br nodata'>\n" +
                                            "  <span class='sp1'>"+data[i].brand+"</span>\n" +
                                            "   <span class='sp2'></span>\n" +
                                            "   <span class='cl'></span>\n" +
                                            " </p>\n" +
                                            " </a>\n" +
                                            " </li>";
                                    }
                                    $("#brandList").append(li);
                                })

                                $("#itemSearchList").append(html);
                            }else{
                                document.getElementById("hotProductsWrap").style.display = "inline";
                            }
                        });

            } );

        });
    }

    //根据一级分类查看二级分类
    function categoryTwoname(classone){
        var _data={
            "storeid":stId,
            "classone":classone
        }
        $.getJSON("http://ivr3ur.natappfree.cc/QueryClasstwo",_data,function(data){
            var li="";
            $("#navTwoList").empty();
            for(var i=0;i<data.length;i++){
                li+="<li style='display:inline'>" +
                    " <a  style='color:#514f57;font-size: 14px;margin-left: 10px;' title='"+data[i].classtwoname+"' >"+data[i].classtwoname+"</a>\n" +
                    " <input id='navTwoName"+i+"'  type='text' hidden value='"+data[i].classtwo+"'></li>"
            }
            $("#navTwoList").append(li);
            $( '#navTwoList li' ).on( 'click', function( e ) {
                var i=$(this).index();
                var classtwo=$("#navTwoName"+i).val();
                categoryThreename(classtwo);
                document.getElementById("navThreeList").style.display = "inline";
            } );
            // $('#navTwoList').hover(function(){
            //     document.getElementById("navThreeList").style.display = "none";
            // })

        });

    }

    //查看一级分类
    function categoryName(){
        $.getJSON("http://ivr3ur.natappfree.cc/QueryClassone",{"storeid":stId},function(data){
            var li="";
            for(var i=0;i<data.length;i++){
                li+="<li  >" +
                    " <a id='feilName"+i+"' title='"+data[i].classonename+"' clstag='pageclick|keycount|shouye_20181018|NaviTab1'>"+data[i].classonename+"</a>\n" +
                    " <input id='navName"+i+"'type='text' hidden value='"+data[i].classone+"'></li>"
            }
            var rli="";
            for(var  j=0;j<data.length;j++){
                rli+="<li>" +
                    "<a class='filter_item no_next_filter_item' has_son='false'> <span title='"+data[j].classonename+"'>"+data[j].classonename+"</span></a>\n" +
                    "</li>"
            }
            $("#related").append(rli);
            $("#navList").append(li);
            $( '#navList li' ).on( 'click', function( e ) {
                var i=$(this).index();
                var classone=$("#navName"+i).val();
                var classname=$("#feilName"+i).text();
                categoryTwoname(classone);
                document.getElementById("category-list").style.display = "inline";
            } );
            $('#leimu').hover(function(){
                document.getElementById("category-list").style.display = "none";
            })


        });

    }

    function toShopDet(_sName){
        alert(_sName)
        window.location.href="shopDetail.html?valueShop="+_sName;
    }

    function brandShop(_bShop){
        alert(_bShop);
        var shop =  {
            "storeid": stId,
            "pageSize": 10,
            "pageNo": 1,
            "state": 1,
            "brand":_bShop
        }
        $.getJSON("http://ivr3ur.natappfree.cc/selectAllCom",shop,function(data){
            if(data.data.length>0){
                $("#itemSearchList").empty();
                var bli="";
                var html ="";
                for (var i = 0; i <data.data.length; i++) {
                    html+= "<li><div class='mod_search_pro'  >" +
                        "                      <div pagetype='simple_table_nonFashion' class='itemBox' id='itemSearchResultCon_28287941109'" +
                        "                           comproid='28287941109'>" +
                        "                          <div class='proImg'>" +
                        "                              <a href='javascript:void(0);' onclick='toShopDet(\""+data.data[i].id+"\")'><img src='"+data.data[i].path+"'></a>" +
                        "                          </div>" +
                        "                      <p class='proPrice'>" +
                        "                          <em class='num' id='price0_28287941109' >\n" +
                        "                              <b>¥</b>"+data.data[i].saleprice+"" +
                        "                          </em>" +
                        "                          <span id='unit_price_28287941109' class='unit_price'></span>\n" +
                        "                      </p>\n" +
                        "                      <p class='proName clearfix'>\n" +
                        "                          <!-- 既没有促销信息(双十一双十二不算),也没有优惠券信息 则需要mainTitle-->\n" +
                        "                          <a id='shopName"+i+"' class='mainTitle'" +
                        "                             title='"+data.data[i].name+"' singlefreeflag='0'>\n" +
                        "                              "+data.data[i].name+"" +
                        "                          </a>" +
                        "                      </p>" +
                        "                  <div class='item_act clearfix'>\n" +
                        "                      <div class='shopping_act fl' isnumbuy='0'>\n" +
                        "                          <a href='javaScript:void(-1)' style='width:50px;margin-right: 20px' class='buy_btn' onclick='collection("+data.data[i].id+")'>收藏 </a>" +
                        "                          <a class='buy_btn'  onclick='shopCar("+data.data[i].id+")' href='javaScript:void(-1)'>加入购物车 </a>" +
                        "                      </div>" +
                        "              </div>" +
                        "                               <p class='proPrice'>" +
                        "   <span class='comment'>" +
                        "                 <a  positiverate='99' >\n" +
                        "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  销量:</span>  <i class='iconSearch'></i>400+</a>\n" +
                        "                 <a   positiverate='99' >\n" +
                        "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  库存:</span> <i class='iconSearch'></i>"+data.data[i].stock+"</a>\n" +
                        "         </span>\n" +
                        "                       </p>\n" +
                        "                      </div>" +
                        "                   </div><input hidden type='text' id='commodity"+i+"' value='"+data.data[i].id+"'/> " +
                        "</li>";


                }
            }else{
                document.getElementById("hotProductsWrap").style.display = "inline";
            }
        });

    }

    function Intercept() {
        var url = location.search;
        var Request = new Object();
        if (url.indexOf("?") != -1) {
            var str = url.substr(1)　//去掉?号
            strs = str.split("&");
            for (var i = 0; i < strs.length; i++) {
                Request[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
            }
        }
        classthreeid = Request["value"];
    }

    function Intercept1() {
        var url = location.search;
        var Request = new Object();
        if (url.indexOf("?") != -1) {
            var str = url.substr(1)　//去掉?号
            strs = str.split("&");
            for (var i = 0; i < strs.length; i++) {
                Request[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
            }
        }
        classtwoid = Request["getValue"];
    }

    function selectThreeShop(){
        var shop = {
            "storeid": stId,
            "classthreeid":classthreeid,
        }
        $.getJSON(" http://ivr3ur.natappfree.cc/getComByClassid",shop,function(data){
                $("#itemSearchList").empty();
                $("#brandList").empty();
                if(data.length>0){
                    var html ="";
                    var li="";
                    for (var i = 0; i <data.length; i++) {
                        html+= "<li><div class='mod_search_pro' defaultid='0' id='producteg_28287941109' data-tcd='5.0' data-tcs='3.0'" +
                            "                       data-tpc='2'>" +
                            "                      <div pagetype='simple_table_nonFashion' class='itemBox' id='itemSearchResultCon_28287941109'" +
                            "                           comproid='28287941109'>" +
                            "                          <div class='proImg'>" +
                            "                              <a href='javascript:void(0);' onclick='toShopDet(\""+data[i].id+"\")'><img src='"+data[i].path+"'></a>" +
                            "                          </div>" +
                            "                      <p class='proPrice'>" +
                            "                          <em class='num' id='price0_28287941109' >\n" +
                            "                              <b>¥</b>"+data[i].saleprice+"" +
                            "                          </em>" +
                            "                          <span id='unit_price_28287941109' class='unit_price'></span>\n" +
                            "                      </p>\n" +
                            "                      <p class='proName clearfix'>\n" +
                            "                          <!-- 既没有促销信息(双十一双十二不算),也没有优惠券信息 则需要mainTitle-->\n" +
                            "                          <a id='shopName"+i+"' class='mainTitle'" +
                            "                             title='"+data[i].name+"' singlefreeflag='0'>\n" +
                            "                              "+data[i].name+"" +
                            "                          </a>" +
                            "                      </p>" +
                            "                  <div class='item_act clearfix'>\n" +
                            "                      <div class='shopping_act fl' isnumbuy='0'>\n" +
                            "                          <a href='javaScript:void(-1)' style='width:50px;margin-right: 20px' class='buy_btn' onclick='collection("+data[i].id+")'>收藏 </a>" +
                            "                          <a class='buy_btn'  onclick='shopCar("+data[i].id+")' href='javaScript:void(-1)'>加入购物车 </a>" +
                            "                      </div>" +
                            "              </div>" +
                            "                               <p class='proPrice'>" +
                            "   <span class='comment'>" +
                            "                 <a  positiverate='99' >\n" +
                            "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  销量:</span>  <i class='iconSearch'></i>400+</a>\n" +
                            "                 <a   positiverate='99' >\n" +
                            "                 <span style='font-size:12px;font-family: Tahoma;color: grey;'>  库存:</span> <i class='iconSearch'></i>"+data[i].stock+"</a>\n" +
                            "         </span>\n" +
                            "                       </p>\n" +
                            "                      </div>" +
                            "                   </div><input hidden type='text' id='commodity"+i+"' value='"+data[i].id+"'/> " +
                            "</li>";
                    }
                    $.getJSON("http://ivr3ur.natappfree.cc/selectBrand",{ "classthreeid":classthreeid},  function (data) {

                        for(var i=0;i<data.length;i++){
                            li+="<li data-name='"+data[i].brand+"' >\n" +
                                " <a href='javascript:void(0);' onclick='brandShop(\""+data[i].brand+"\")' title='"+data[i].brand+"' >\n" +
                                "<span class='sr'>"+data[i].brand+"</span>\n" +
                                " <p class='br nodata'>\n" +
                                "  <span class='sp1'>"+data[i].brand+"</span>\n" +
                                "   <span class='sp2'></span>\n" +
                                "   <span class='cl'></span>\n" +
                                " </p>\n" +
                                " </a>\n" +
                                " </li>";
                        }
                        $("#brandList").append(li);
                    })

                    $("#itemSearchList").append(html);
                }else{
                    document.getElementById("hotProductsWrap").style.display = "inline";
                }
            });

    }

</script>


<iframe id="globalLocalStorageAdaptorForGet" style="display:none" src="" loaded="1"></iframe>
</body>
</html>